﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="goodlinks.aspx.cs" Inherits="Other_goodlinks" %>
<%@ Register Src="../extends/RecordControl.ascx" TagName="RecordControl" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="../css/css.css" type="text/css" rel="stylesheet"/>
         <link rel="stylesheet" href="../themes/default/default.css" />
        <script src="../javascript/jscript.js" type="text/javascript"></script>
    <title>友情连接</title>
    <script type="text/javascript">
       function SelectItemed(ctrlID,operateIndex,recordID)
       {
       
        if(operateIndex==1)
        {
           __doPostBack('<%= hideButton.UniqueID%>',recordID);
        }
        if(operateIndex==0)
        {
        
            window.location="Addgoodlinks.aspx?ID="+recordID;
        }
       }
</script>
</head>
<body>
    <table class='table' cellspacing='1' cellpadding='3' width="98%" align='center' border='0'>
          <tbody>
            <tr>
              <td class='xingmu'>友情连接管理</td>
            </tr>
                
             <tr>
                  <td class="hback"> 
                  &nbsp;&nbsp;<a href="Addgoodlinks.aspx">添加友情连接</a>
                  </td>
             </tr>
    
          </tbody>
        </table>

    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
            <div>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" >
            <ContentTemplate>
                 <asp:Button ID="hideButton" runat="server" Text="BAODAP"  OnClick="hideButton_Click"  style="display:none"/>
                <uc1:RecordControl ID="RecordControl1" runat="server" ImageFields="图片" Query="SELECT ID AS 编号,NAME AS 名称,IMAGE AS 图片,ADDRESS AS 地址  FROM T_GOODLINKS " pageSize="10" where=" NAME "/>
                  </ContentTemplate>
            </asp:UpdatePanel>
                
            </div>
    </form>
</body>
</html>
